package com.yc.cloud.admin.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;

/**
 * 添加人脸文件请求参数DTO
 * 注意：文件通过单独参数传递，此DTO只包含业务参数
 *
 * @author JackGu
 * @since 2025-11-05
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "添加人脸文件请求参数")
public class FaceAddFileReqDTO {

    @ApiModelProperty(value = "人员ID（唯一标识）", required = true, example = "user_001")
    @NotBlank(message = "人员ID不能为空")
    private String personId;

    @ApiModelProperty(value = "人员姓名", required = false, example = "张三")
    private String personName;

    @ApiModelProperty(value = "扩展信息（JSON格式）", required = false, example = "{\"department\":\"技术部\"}")
    private String metaInfo;
}

